import request from '@/utils/request'
// 查询仓库列表
export const getPageInfo = () => {
  return request({
    url: '/warehouse/page'
  })
}
// 查询仓库详情
export const getWareHouseDetail = (id) => {
  return request({
    url: `/warehouse/${id}`
  })
}
// 新增仓库
export const addWareHouse = (data) => {
  return request({
    url: '/warehouse',
    method: 'post',
    data
  })
}
